// 泛型
function id<Type>(value: Type): Type { return value }
const num = id<number>(10)
const str = id<string>('a')
const age = id(18)